import { createApp } from 'vue'
import AppElement from './App.vue'
import '@css/main.less'

// element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

// pinia
import { createPinia } from 'pinia'
import { router } from '@src/utils/RouterUtil'
const pinia = createPinia()

const vueApp = createApp(AppElement)
vueApp.use(ElementPlus, {
  locale: zhCn,
})
vueApp.use(pinia)
vueApp.use(router)
vueApp.mount('#app')
